package com.qujia.station.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@ApiModel(description = "出库记录表实体类")
@TableName(value ="outbound_records")
@Data
public class OutboundRecords implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long outboundRecordsId;

    @ApiModelProperty(value = "单据编号")
    private String recordsCode;

    @ApiModelProperty(value = "油企id")
    private Long enterpriseId;

    @ApiModelProperty(value = "油企名称")
    private String enterpriseName;

    @ApiModelProperty(value = "油站id")
    private Long stationId;

    @ApiModelProperty(value = "油站名称")
    private String stationName;

    @ApiModelProperty(value = "调出油站id")
    private Long outboundStationId;

    @ApiModelProperty(value = "调出油站名称")
    private String outboundStationName;

    @ApiModelProperty(value = "调入油站id")
    private Long storageStationId;

    @ApiModelProperty(value = "调入油站名称")
    private String storageStationName;

    @ApiModelProperty(value = "商品总数")
    private Long commodityNum;

    @ApiModelProperty(value = "是否入库，0：待入库，1：已入库，2：入库失败")
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String notes;

    @ApiModelProperty(value = "删除标识 0：未删除,1：删除")
    private Boolean isDeleted;

    @ApiModelProperty(value = "入库时间")
    private Date outboundRepositoryTime;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "创建人id")
    private Long createUser;

    @ApiModelProperty(value = "创建人")
    private String createUserName;

    @ApiModelProperty(value = "修改人id")
    private Long updateUser;

    @ApiModelProperty(value = "修改人")
    private String updateUserName;
}